package com.github.llyb120.workflow.adapter;

import com.github.llyb120.workflow.definition.Workflow;
import com.github.llyb120.workflow.entity.FlowData;
import com.github.llyb120.workflow.entity.WorkflowWrapper;

public abstract class StorageAdapter {
    public void save(FlowData flowData) {
        throw new RuntimeException();
    }

    public FlowData findFlowData(String id) {
        throw new RuntimeException();
    }

    public WorkflowWrapper findWorkFlow(String id) {
        throw new RuntimeException();
    }

    public void init(){}
}
